FROM hub.c.163.com/library/java:openjdk-8
# time zone
RUN echo "Asia/Chongqing" > /etc/timezone 
VOLUME /tmp
ADD eureka-server-ha-0.0.1.jar eureka-server-ha.jar
ENV TZ=Asia/Shanghai
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom", "-Xms216m", "-Xmx1024m","-jar","eureka-server-ha.jar"]
